<html>
<head>
<meta charset="utf-8">
<title>user index</title>
	<link rel="stylesheet" href="themes/default/easyui.css" type="text/css"></link>
    <link rel="stylesheet" href="themes/icon.css" type="text/css"></link>
    <script type="text/javascript" src="js/jquery.min.js"></script>
    <script type="text/javascript" src="js/jquery.easyui.min.js"></script>
    <script type="text/javascript" src="js/easyui-lang-zh_CN.js"></script>
</head>

<form method="post" action="${path}UserAction?method=queryAll">
 
  userid:<input type="text" name="u_id"  value="${(use.u_id)!}" >&nbsp
  username:<input type="text" name="u_name" value="${(use.u_name)!}">&nbsp
  type:<select name="u_type">
		<option value= >choose</option>
		<option value="1">type 1</option>
		<option value="2">type 2</option>
	</select>&nbsp&nbsp&nbsp<input type="submit" value="search"></form></p>
<form method="post" action="${path}UserAction?method=queryAll">
	start&nbsptime:<input id="dts" type="text" name="starTime" ></input>
	end&nbsptime:<input id="dte" type="text" name="endTime" ></input>
  &nbsp&nbsp&nbsp<input type="submit" value="search"></form>
  <a href="${path}UserAction?method=forwardSave">add user</a>
     <table border=1>
         <tr>
             <td>id</td>
             <td>user name</td>
             <td>remarks</td>
             <td>state</td>
             <td>createtime</td>
             <td>last online time</td>
             <td>user type</td>
             <td>option</td>
             <td>option</td>
         </tr>
         <#list users as user>
             <tr>
                 <td>${user.u_id}</td>
                 <td>${user.u_name}</td>
                 <td>${user.u_remarks}</td>
                 <td>${user.u_state}</td>
                 <td>${user.u_createtime}</td>
                 <td>${user.u_lastonline}</td>
                 <td>${user.u_type}</td>
                 <td><a href="${path}UserAction?method=forwardUpdate&u_id=${user.u_id}">edit</a></td>
                 <td><a href="${path}UserAction?method=delete&u_id=${user.u_id}">delete</a></td>
             </tr>
         </#list>
     </table>
     	${page}/${allPage}&nbsp&nbsp&nbsp
      	  <a href="${path}UserAction?method=queryAll&page=${page-1}&u_id=${(use.u_id)!}">Page Up</a>&nbsp&nbsp&nbsp
          <a href="${path}UserAction?method=queryAll&page=${page+1}&u_id=${(use.u_id)!}">Page Down</a>
          
  <script type="text/javascript">
	  $('#dts').datetimebox({    
		    value: '3/4/2010 2:3',    
		    required: false,    
		    showSeconds: false   
		});  
  </script>  
    <script type="text/javascript">
	  $('#dte').datetimebox({    
		    value: '3/4/2010 2:3',    
		    required: false,    
		    showSeconds: false   
		});  
  </script> 
          
          
</body>
</html>